<%- include('../../common/header.html',{css:'common'}) %>
<%- include('../../common/script-validation.html') %>
<link rel="stylesheet" href="./../../libs/ps/perfect-scrollbar.css">
    <script id="lading-bill-actual-template" type="text/x-handlebars-template">
        <form class='form-horizontal btn-update-actual-lading-bill'>
            <div class="form-group">
                <label class="col-sm-3 control-label">增加库存数</label>
                <div class="col-sm-6">
                    <input class="form-control" placeholder="增加库存数" name="actual" type="number" data-rule-required="true" min="0">
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                    <button type="submit" data-loading-text="提交中..."
                            class="btn btn-danger btn-update-actual-lading-bill">提交
                    </button>
                </div>
            </div>
        </form>
    </script>
    <title>仓库管理-后台管理系统</title>
</head>
<body class="sub-body">
<%- include('../../common/top-nav.html') %>
<%- include('../../common/page-title.html',{navs:[
{label:'首页',url:'../../main.html'},
{label:'仓库管理',url:'javascript:void(0)'},
{label:'仓库管理',url:'javascript:void(0)'},
]}) %>
<div class="content">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="btn-group" role="group" aria-label="...">
                <button type="button" class="btn btn-default"
                        data-toggle="modal" data-target=".add-user-modal-lg"
                >新建
                </button>
            </div>
            <div class="input-group" style="float: right;width: 300px;">
                <input type="text" class="form-control search" placeholder="请输入...">
                <span class="input-group-btn">
                        <button class="btn btn-default search-btn"
                                data-loading-text="查询中..."
                                type="button">查询</button>
                      </span>
            </div>
            <div class="modal fade add-user-modal-lg" tabindex="-1" role="dialog"
                 aria-labelledby="myLargeModalLabel" aria-hidden="true">
                <div class="modal-dialog modal-lg">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                    aria-hidden="true">&times;</span></button>
                            <h5 class="modal-title" id="myModalLabel">新建</h5>
                        </div>
                        <div class="modal-body">
                            <form class='form-horizontal' id="user-form">
                                <div class="form-group">
                                    <label for="validate-name" class="col-sm-3 control-label">仓库名称</label>
                                    <div class="col-sm-6">
                                        <input type="hidden" name="id">
                                        <input type="text" class="form-control" id="validate-name"
                                               placeholder="仓库名称"
                                               data-rule-required='true'
                                               name='name'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-shortName" class="col-sm-3 control-label">仓库简称</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" id="validate-shortName"
                                               placeholder="仓库简称"
                                               data-rule-required='true'
                                               name='shortName'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-address" class="col-sm-3 control-label">仓库地址</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" id="validate-address"
                                               placeholder="仓库地址"
                                               data-rule-required='true'
                                               name='address'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label  class="col-sm-3 control-label">仓库管理员</label>
                                    <div class="col-sm-6">
                                        <select
                                                name="admin"
                                                class="form-control"
                                                data-size="auto"
                                                data-live-search="true"
                                                title="选择仓库管理员"
                                        >
                                        </select>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>

                                <div class="form-group">
                                    <label for="validate-phone" class="col-sm-3 control-label">电话</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control" id="validate-phone"
                                               placeholder="电话" data-rule-minlength="2"
                                               data-rule-required='true'
                                               name='phone'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-fax"
                                           class="col-sm-3 control-label">传真</label>
                                    <div class="col-sm-6">
                                        <input type="text" class="form-control"
                                               name="fax"
                                               id="validate-fax"
                                               placeholder="传真" data-rule-required='true'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-order"
                                           class="col-sm-3 control-label">排序号</label>
                                    <div class="col-sm-6">
                                        <input type="number" class="form-control"
                                               name="order"
                                               value="0"
                                               id="validate-order"
                                               placeholder="排序号" data-rule-required='true'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-showDriver" class="col-sm-3 control-label">是否显示司机信息</label>
                                    <div class="col-sm-6">
                                        <label class="checkbox-inline">
                                            <input type="checkbox" name="showDriver" id="validate-showDriver"> 是否显示司机信息
                                        </label>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-showDriver" class="col-sm-3 control-label">是否能灌装</label>
                                    <div class="col-sm-6">
                                        <input type="text"
                                               class="form-control"
                                               name="isFilling"
                                               placeholder="是否能灌装" data-rule-required='true'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-order"
                                           class="col-sm-3 control-label">仓储收费</label>
                                    <div class="col-sm-6">
                                        <input type="text"
                                               class="form-control"
                                               name="fee"
                                               value="0"
                                               placeholder="举例：1元/吨/天" data-rule-required='true'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-order"
                                           class="col-sm-3 control-label">提货时间</label>
                                    <div class="col-sm-6">
                                        <input type="text"
                                               class="form-control"
                                               name="pickupTime"
                                               value="0"
                                               placeholder="提货时间" data-rule-required='true'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label for="validate-order"
                                           class="col-sm-3 control-label">避高温时间</label>
                                    <div class="col-sm-6">
                                        <input type="text"
                                               class="form-control"
                                               name="htTime"
                                               value="0"
                                               placeholder="避高温时间" data-rule-required='true'>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>
                                <div class="form-group">
                                    <label
                                            class="col-sm-3 control-label">备注</label>
                                    <div class="col-sm-6">
                                        <textarea
                                                placeholder="备注"
                                                name="remark" class="form-control" cols="30" rows="3"></textarea>
                                    </div>
                                    <div class="col-sm-3 error-container"></div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-offset-3 col-sm-9">
                                        <button id="submit"
                                                type="submit"
                                                data-loading-text="提交处理中..."
                                                class="btn btn-primary"
                                                autocomplete="off"
                                        >保存
                                        </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <div class="table-responsive" style="margin-top: 12px;">
                <div class="com-loading">
                    <img src="/admin/imgs/loading/loading.gif" alt="">
                </div>
                <table class="table table-bordered table-hover">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th>仓库名称<i data-sort="name" class="pull-right fa fa-sort"></i></th>
                        <th>电话<i data-sort="phone" class="pull-right fa fa-sort"></i></th>
                        <th>传真<i data-sort="fax" class="pull-right fa fa-sort"></i></th>
                        <th>是否显示司机<i data-sort="fax" class="pull-right fa fa-sort"></i></th>
                        <th>排序号<i data-sort="order" class="pull-right fa fa-sort"></i></th>
                        <th>仓储收费<i data-sort="fee" class="pull-right fa fa-sort"></i></th>
                        <th>可卖数量</th>
                        <th>可发货数量</th>
                        <th>地址<i data-sort="short_name" class="pull-right fa fa-sort"></i></th>
                        <th>简称<i data-sort="short_name" class="pull-right fa fa-sort"></i></th>
                        <th>是否能灌桶</th>
                        <th>提货时间</th>
                        <th>避高温时间</th>
                        <th>仓库管理员<i data-sort="admin" class="pull-right fa fa-sort"></i></th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>

                    </tbody>
                </table>

            </div>
            <div class="su-pager text-right"></div>
        </div>
    </div>
</div>
</body>
<!-- build:js ../../scripts/store/stindex.ba.jsx.js  -->
<script type="text/javascript" src="./index.js"></script>
<!-- endbuild -->
</html>